/****************************************
Header name: Student.h
Author: Gu Zhengxiong
Version: 2013.11.22
Description:The header defines a structure, STUDENT.
****************************************/

# include "StudentInfo.h"
# include "StudentGrade.h"

# ifndef STUDENT_MANAGEMENT_STUDENT_H
# define STUDENT_MANAGEMENT_STUDENT_H

typedef struct _Student
{
	PINFO pi;//PINFO defined in StudentInfo.h
	PGRADE pg;//PGRADE defined in StudentGrade.h
	void (*Display)(PSTUDENT);//new, not easy?
	void (*DestroyPs)(PSTUDENT);
	/* To be continued... */
	struct _Student *pnext;
}
STUDENT,
*PSTUDENT;

void
Display (PSTUDENT ps);
void
DestroyPs (PSTUDENT ps_before);

# endif